package org.example.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;

@Component
@FeignClient(value = "cloud-user2",fallbackFactory = OpenFeignFallbackFactory.class)
public interface TestFeignClient {
    @GetMapping("/test")
    public String test();
}
